//
//  LHUserOtherTableViewCell.m
//  Knight_Tour
//
//  Created by dlios on 15-5-14.
//  Copyright (c) 2015年 TouchOne. All rights reserved.
//

#import "LHUserOtherTableViewCell.h"

@implementation LHUserOtherTableViewCell
- (void)dealloc
{
    [_lable1 release];
    [_image1 release];
    [_view1 release];
    [super dealloc];
}
- (void)awakeFromNib {
    // Initialization code
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.lable1 = [[UILabel alloc] init];
        [self.contentView addSubview:_lable1];
        [_lable1 release];
        
        self.image1 = [[UIImageView alloc] init];
        [self.contentView addSubview:_image1];
        [_image1 release];
        
        self.view1 = [[UIView alloc] init];
        _view1.backgroundColor = [UIColor grayColor];
        [self.contentView addSubview:_view1];
        [_view1 release];
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    _lable1.frame = CGRectMake(62, 15, 150, 20);
    _image1.frame = CGRectMake(15, 10, 30, 30);
    _view1.frame = CGRectMake(0, 0, self.contentView.bounds.size.width, 3);
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
